{% extends 'admin/base.html' %}
{% block style %}
    {{ super() }}
    <link rel="stylesheet" href="{{ url_for('static',filename='css/login.css') }}" media="all">
{% endblock %}
{% block main %}
    {{ super() }}
    <div class="main-body">
        <div class="login-main">
            <div class="login-top">
                <span>后台登录</span>
                <span class="bg1"></span>
                <span class="bg2"></span>
            </div>
            <form class="layui-form login-bottom" action="/admin/login" method="post" name="login">
                {{ login_form.csrf_token }}
                <div class="center">
                    <div class="item">
                        <span class="icon icon-2"></span>
                        {{ login_form.username(class="layui-input",placeholder="请输入登录账号",maxlength="64") }}
                    </div>

                    <div class="item">
                        <span class="icon icon-3"></span>
                        {{ login_form.password(class="layui-input",placeholder="请输入密码",maxlength="16") }}
                        <span class="bind-password icon icon-4"></span>
                    </div>


                </div>
                <div class="tip">
                    <span class="icon-nocheck"></span>
                    <span class="login-tip">保持登录</span>
                    <a href="javascript:" class="forget-password">忘记密码？</a>
                </div>
                <div class="layui-form-item" style="text-align:center; width:100%;height:100%;margin:0px;">
                    <button type="submit" class="login-btn">立即登录</button>
                </div>
            </form>
        </div>
    </div>
    <div class="footer">
        ©版权所有 2014-2018 叁贰柒工作室<span class="padding-5">|</span><a target="_blank" href="http://www.miitbeian.gov.cn">粤ICP备16006642号-2</a>
    </div>
{% endblock %}